#include "HLrpcApi.h"

namespace rpc {

namespace lrpc {

#define DEFINE_NTDLL_API(name) Api_##name HLRPCApi::##name = HLoadAPI<Api_##name>::load("ntdll.dll", #name)

DEFINE_NTDLL_API(NtClose);
DEFINE_NTDLL_API(NtOpenProcess);
DEFINE_NTDLL_API(NtDuplicateObject);
DEFINE_NTDLL_API(NtCreatePort);
DEFINE_NTDLL_API(NtRequestPort);
DEFINE_NTDLL_API(NtRequestWaitReplyPort);
DEFINE_NTDLL_API(NtReplyWaitReplyPort);
DEFINE_NTDLL_API(NtReplyWaitReceivePort);
DEFINE_NTDLL_API(NtAcceptConnectPort);
DEFINE_NTDLL_API(NtCompleteConnectPort);
DEFINE_NTDLL_API(NtImpersonateClientOfPort);
DEFINE_NTDLL_API(NtConnectPort);
DEFINE_NTDLL_API(NtAlpcConnectPort);
DEFINE_NTDLL_API(NtRegisterThreadTerminatePort);
DEFINE_NTDLL_API(NtReplyPort);

} // namespace lrpc

} // namespace rpc

